package com.sscw.task.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.guaike.core.mybatis.entity.BasePO;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 松子明细表
 * </p>
 *
 * @author system
 * @since 2025-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("d_details_pine_nut")
public class DDetailsPineNutPO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * app用户id
     */
    private Long userId;
    /**
     * 标的类型（字典码：50026）
     */
    private Integer labelType;
    /**
     * 明细类型（字典码：50027）
     */
    private Integer detailsType;
    /**
     * 松子数量
     */
    private Integer pineNut;
    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 房间名称
     */
    private String roomName;
    /**
     * 备注
     */
    private String remark;
    /**
     * 渠道编码
     */
    private String tenantId;
    /**
     * 逻辑删除（非0:已删除, 0:未删除）
     */
    @TableLogic(value = "0", delval = "now()")
    private Long deleted;



}
